package com.miyu.client1.service.magic;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

import java.io.IOException;


public interface BookMagicService {
    JSONArray searchBook(JSONObject param);

    JSONObject saveBookListInfo(JSONArray bookListInfo);

    JSONObject queryDetailBookList(JSONObject bookId);

    JSONObject queryReadBook(JSONObject param);

    String downloadBook(String param) throws IOException, Exception;

    JSONArray queryBookList(JSONObject param);

    JSONObject initData() throws  Exception;

    JSONObject updateChapter(JSONObject jo);

    JSONArray SearchPage(JSONObject param);

    JSONObject getBookInfo(JSONObject param);

    JSONObject readBook(JSONObject param);

    String downloadFile(JSONObject param) throws IOException, Exception;
}
